﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Entity;
using BLL;

namespace Web.frontpage
{
    public partial class StuSummary : System.Web.UI.Page
    {
        public string from = "";
        //public string stuname;
        public string summarycontent;
        public string awardTitle;
        ParticipantService participantService = new ParticipantService();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string id = Request.QueryString["Id"];
                if (!string.IsNullOrEmpty(id))
                {
                    BoParticipants par = participantService.getParticipant(id);
                    //SUMMARY.InnerHtml = par.PAR_SUMMARY;
                    awardTitle = par.PAR_SUMTITLE;
                    //stuname = par.STU_NAME;
                    summarycontent = par.PAR_SUMMARY;
                    from = par.STU_NAME;
                }
            }
        }
    }
}